package com.koalac.ironman.net.pojo.response;

import org.json.JSONObject;

public class AgentDetail extends BaseResponse{
    private String id;
    private String message;
    private String publish;
    private String dateline;
    
    @Override
    public void init(JSONObject source) {
	if (source != null) {
	    id = source.optString("id");
		message = source.optString("message");
		publish = source.optString("publish");
		dateline = source.optString("dateline");
	}
    }
    
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getPublish() {
        return publish;
    }

    public void setPublish(String publish) {
        this.publish = publish;
    }

    public String getDateline() {
        return dateline;
    }

    public void setDateline(String dateline) {
        this.dateline = dateline;
    }

}
